﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;

namespace Insteon
{
    [DataContract]
    public class Thermostat : Device
    {
        public Command TurnOn(Mode mode)
        {
            return new Command(ID, Commands.ThermOn);
        }

        public Command TurnOff(Mode mode)
        {
            return new Command(ID, Commands.ThermOff);
        }
    }

    public enum Mode
    {
        Cool,
        Heat
    }
}
